package com.salt.admin.api.persistence;

import java.util.List;

/**
 * @Description
 * @Author salt
 * @Date 2022/1/22
 * @Version 1.0.1
 */
public class TenantEntity<T> extends DataEntity<T> {

    private String tenant; // 租户标识ID
    private List<String> tenantIds; // 多租户ID集合
    private String multiTenantIds;  // 逗号隔开的租户ID

    public TenantEntity() {
        super();
    }

    public TenantEntity(String id) {
        super(id);
    }

    public String getTenant() {
        return tenant;
    }

    public void setTenant(String tenant) {
        this.tenant = tenant;
    }

    public List<String> getTenantIds() {
        return tenantIds;
    }

    public void setTenantIds(List<String> tenantIds) {
        this.tenantIds = tenantIds;
    }

    public String getMultiTenantIds() {
        return multiTenantIds;
    }

    public void setMultiTenantIds(String multiTenantIds) {
        this.multiTenantIds = multiTenantIds;
    }
}
